package file_demo1;

import java.io.*;

public class demo7 {
    public static void main(String[] args) throws IOException {
        FileReader fr = new FileReader("D:/biji/test1.txt");
        int i;
        while((i = fr.read()) != -1){
            System.out.print((char) i);
        }
        fr.close();
    }
}